local que_yaxian = fk.CreateSkill {
    name = "que_yaxian",
    tags = { Skill.Compulsory },
}

Fk:loadTranslationTable {
    ["que_yaxian"] = "雅娴",
    [":que_yaxian"] = "锁定技，防止你受到的非卡牌伤害、无来源伤害和非因〖净清〗造成的失去体力效果。",
}

que_yaxian:addEffect(fk.DetermineDamageInflicted, {
    anim_type = "defensive",
    can_trigger = function(self, event, target, player, data)
        return target == player and player:hasSkill(que_yaxian.name) and (not data.from or not data.card)
    end,
    on_use = function(self, event, target, player, data)
        data:preventDamage()
    end,
})
que_yaxian:addEffect(fk.PreHpLost, {
    mute = true,
    can_trigger = function(self, event, target, player, data)
        return player:hasSkill(que_yaxian.name) and target == player and data.skillName ~= "que_jingqing"
    end,
    on_use = function(self, event, target, player, data)
        data:preventHpLost()
    end,
})
return que_yaxian
